﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using RG.Common;
using RG.Consts;

namespace RealtorGuide.Classes
{
    public interface IMicroAreaService : IHugeDataService<MicroArea,MicroAreasQueryParams>
    {
    }


    [DataContract]
    public class MicroArea  : IMicroArea
    {
        [DataMember]
        public int Id { get; set; }

        /// <summary>
        /// Наименование района
        /// </summary>
        [DataMember]
        public string Name { get; set; }

        /// <summary>
        /// Состояние
        /// </summary>
        [DataMember]
        public MicroAreaState State { get; set; }
    }
}
